
Public Class MainForm
  Inherits System.Windows.Forms.Form
  Private ReadOnly _speedTestCount As Integer = 1000
  Friend WithEvents FlowLayoutPanel1 As System.Windows.Forms.FlowLayoutPanel
  Friend WithEvents SystemInfoButton As System.Windows.Forms.Button
  Friend WithEvents WebButton As System.Windows.Forms.Button
  Friend WithEvents ActiveDirectoryButton As System.Windows.Forms.Button
  Friend WithEvents ArraysButton As System.Windows.Forms.Button
  Friend WithEvents FilesButton As System.Windows.Forms.Button
  Friend WithEvents SecurityButton As System.Windows.Forms.Button
  Friend WithEvents TextButton As System.Windows.Forms.Button
  Friend WithEvents ValidationButton As System.Windows.Forms.Button
  Friend WithEvents CounterButton As System.Windows.Forms.Button
  Friend WithEvents TempFileManagerButton As System.Windows.Forms.Button
  Friend WithEvents DPAPIEncryptionButton As System.Windows.Forms.Button
  Friend WithEvents WindowsUIButton As System.Windows.Forms.Button
  Friend WithEvents ApplicationButton As System.Windows.Forms.Button
  Friend WithEvents MisButton As System.Windows.Forms.Button
  Friend WithEvents FlowLayoutPanel2 As System.Windows.Forms.FlowLayoutPanel
  Friend WithEvents MailButton As System.Windows.Forms.Button
#Region " Windows Form Designer generated code "

  Public Sub New()
    MyBase.New()

    'This call is required by the Windows Form Designer.
    InitializeComponent()

    'Add any initialization after the InitializeComponent() call

  End Sub

  'Form overrides dispose to clean up the component list.
  Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
    If disposing Then
      If Not (components Is Nothing) Then
        components.Dispose()
      End If
    End If
    MyBase.Dispose(disposing)
  End Sub

  'Required by the Windows Form Designer
  Private components As System.ComponentModel.IContainer

  'NOTE: The following procedure is required by the Windows Form Designer
  'It can be modified using the Windows Form Designer.  
  'Do not modify it using the code editor.
  'Friend WithEvents MainPopupNotifier As dotNetTips.Utility.UI.Windows.PopupNotifier
  Friend WithEvents TextBox1 As dotNetTips.Utility.UI.Windows.TextBox
  <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
    Me.FlowLayoutPanel1 = New System.Windows.Forms.FlowLayoutPanel
    Me.ActiveDirectoryButton = New System.Windows.Forms.Button
    Me.ArraysButton = New System.Windows.Forms.Button
    Me.SystemInfoButton = New System.Windows.Forms.Button
    Me.WebButton = New System.Windows.Forms.Button
    Me.FilesButton = New System.Windows.Forms.Button
    Me.SecurityButton = New System.Windows.Forms.Button
    Me.TextButton = New System.Windows.Forms.Button
    Me.ValidationButton = New System.Windows.Forms.Button
    Me.CounterButton = New System.Windows.Forms.Button
    Me.WindowsUIButton = New System.Windows.Forms.Button
    Me.ApplicationButton = New System.Windows.Forms.Button
    Me.MisButton = New System.Windows.Forms.Button
    Me.MailButton = New System.Windows.Forms.Button
    Me.TempFileManagerButton = New System.Windows.Forms.Button
    Me.DPAPIEncryptionButton = New System.Windows.Forms.Button
    Me.TextBox1 = New dotNetTips.Utility.UI.Windows.TextBox
    Me.FlowLayoutPanel2 = New System.Windows.Forms.FlowLayoutPanel
    Me.FlowLayoutPanel1.SuspendLayout()
    Me.FlowLayoutPanel2.SuspendLayout()
    Me.SuspendLayout()
    '
    'FlowLayoutPanel1
    '
    Me.FlowLayoutPanel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
    Me.FlowLayoutPanel1.Controls.Add(Me.ActiveDirectoryButton)
    Me.FlowLayoutPanel1.Controls.Add(Me.ArraysButton)
    Me.FlowLayoutPanel1.Controls.Add(Me.ApplicationButton)
    Me.FlowLayoutPanel1.Controls.Add(Me.SystemInfoButton)
    Me.FlowLayoutPanel1.Controls.Add(Me.FilesButton)
    Me.FlowLayoutPanel1.Controls.Add(Me.SecurityButton)
    Me.FlowLayoutPanel1.Controls.Add(Me.TextButton)
    Me.FlowLayoutPanel1.Controls.Add(Me.ValidationButton)
    Me.FlowLayoutPanel1.Controls.Add(Me.WebButton)
    Me.FlowLayoutPanel1.Location = New System.Drawing.Point(12, 15)
    Me.FlowLayoutPanel1.Name = "FlowLayoutPanel1"
    Me.FlowLayoutPanel1.Size = New System.Drawing.Size(331, 282)
    Me.FlowLayoutPanel1.TabIndex = 11
    '
    'ActiveDirectoryButton
    '
    Me.ActiveDirectoryButton.Location = New System.Drawing.Point(3, 3)
    Me.ActiveDirectoryButton.Name = "ActiveDirectoryButton"
    Me.ActiveDirectoryButton.Size = New System.Drawing.Size(113, 23)
    Me.ActiveDirectoryButton.TabIndex = 3
    Me.ActiveDirectoryButton.Text = "Active Directory"
    Me.ActiveDirectoryButton.UseVisualStyleBackColor = True
    '
    'ArraysButton
    '
    Me.ArraysButton.Location = New System.Drawing.Point(122, 3)
    Me.ArraysButton.Name = "ArraysButton"
    Me.ArraysButton.Size = New System.Drawing.Size(113, 23)
    Me.ArraysButton.TabIndex = 4
    Me.ArraysButton.Text = "Arrays"
    Me.ArraysButton.UseVisualStyleBackColor = True
    '
    'SystemInfoButton
    '
    Me.SystemInfoButton.Location = New System.Drawing.Point(122, 32)
    Me.SystemInfoButton.Name = "SystemInfoButton"
    Me.SystemInfoButton.Size = New System.Drawing.Size(113, 23)
    Me.SystemInfoButton.TabIndex = 0
    Me.SystemInfoButton.Text = "Computer Info"
    Me.SystemInfoButton.UseVisualStyleBackColor = True
    '
    'WebButton
    '
    Me.WebButton.Location = New System.Drawing.Point(3, 119)
    Me.WebButton.Name = "WebButton"
    Me.WebButton.Size = New System.Drawing.Size(113, 23)
    Me.WebButton.TabIndex = 2
    Me.WebButton.Text = "Web"
    Me.WebButton.UseVisualStyleBackColor = True
    '
    'FilesButton
    '
    Me.FilesButton.Location = New System.Drawing.Point(3, 61)
    Me.FilesButton.Name = "FilesButton"
    Me.FilesButton.Size = New System.Drawing.Size(113, 23)
    Me.FilesButton.TabIndex = 5
    Me.FilesButton.Text = "Files"
    Me.FilesButton.UseVisualStyleBackColor = True
    '
    'SecurityButton
    '
    Me.SecurityButton.Location = New System.Drawing.Point(122, 61)
    Me.SecurityButton.Name = "SecurityButton"
    Me.SecurityButton.Size = New System.Drawing.Size(113, 23)
    Me.SecurityButton.TabIndex = 6
    Me.SecurityButton.Text = "Security"
    Me.SecurityButton.UseVisualStyleBackColor = True
    '
    'TextButton
    '
    Me.TextButton.Location = New System.Drawing.Point(3, 90)
    Me.TextButton.Name = "TextButton"
    Me.TextButton.Size = New System.Drawing.Size(113, 23)
    Me.TextButton.TabIndex = 7
    Me.TextButton.Text = "Text"
    Me.TextButton.UseVisualStyleBackColor = True
    '
    'ValidationButton
    '
    Me.ValidationButton.Location = New System.Drawing.Point(122, 90)
    Me.ValidationButton.Name = "ValidationButton"
    Me.ValidationButton.Size = New System.Drawing.Size(113, 23)
    Me.ValidationButton.TabIndex = 8
    Me.ValidationButton.Text = "Validation"
    Me.ValidationButton.UseVisualStyleBackColor = True
    '
    'CounterButton
    '
    Me.CounterButton.Location = New System.Drawing.Point(3, 3)
    Me.CounterButton.Name = "CounterButton"
    Me.CounterButton.Size = New System.Drawing.Size(113, 23)
    Me.CounterButton.TabIndex = 9
    Me.CounterButton.Text = "Counter"
    Me.CounterButton.UseVisualStyleBackColor = True
    '
    'WindowsUIButton
    '
    Me.WindowsUIButton.Location = New System.Drawing.Point(122, 61)
    Me.WindowsUIButton.Name = "WindowsUIButton"
    Me.WindowsUIButton.Size = New System.Drawing.Size(113, 23)
    Me.WindowsUIButton.TabIndex = 12
    Me.WindowsUIButton.Text = "Windows UI"
    Me.WindowsUIButton.UseVisualStyleBackColor = True
    '
    'ApplicationButton
    '
    Me.ApplicationButton.Location = New System.Drawing.Point(3, 32)
    Me.ApplicationButton.Name = "ApplicationButton"
    Me.ApplicationButton.Size = New System.Drawing.Size(113, 23)
    Me.ApplicationButton.TabIndex = 13
    Me.ApplicationButton.Text = "Application"
    Me.ApplicationButton.UseVisualStyleBackColor = True
    '
    'MisButton
    '
    Me.MisButton.Location = New System.Drawing.Point(122, 32)
    Me.MisButton.Name = "MisButton"
    Me.MisButton.Size = New System.Drawing.Size(113, 23)
    Me.MisButton.TabIndex = 14
    Me.MisButton.Text = "Misc"
    Me.MisButton.UseVisualStyleBackColor = True
    '
    'MailButton
    '
    Me.MailButton.Location = New System.Drawing.Point(3, 32)
    Me.MailButton.Name = "MailButton"
    Me.MailButton.Size = New System.Drawing.Size(113, 23)
    Me.MailButton.TabIndex = 1
    Me.MailButton.Text = "Mail"
    Me.MailButton.UseVisualStyleBackColor = True
    '
    'TempFileManagerButton
    '
    Me.TempFileManagerButton.Location = New System.Drawing.Point(3, 61)
    Me.TempFileManagerButton.Name = "TempFileManagerButton"
    Me.TempFileManagerButton.Size = New System.Drawing.Size(113, 23)
    Me.TempFileManagerButton.TabIndex = 10
    Me.TempFileManagerButton.Text = "Temp File Manager"
    Me.TempFileManagerButton.UseVisualStyleBackColor = True
    '
    'DPAPIEncryptionButton
    '
    Me.DPAPIEncryptionButton.Location = New System.Drawing.Point(122, 3)
    Me.DPAPIEncryptionButton.Name = "DPAPIEncryptionButton"
    Me.DPAPIEncryptionButton.Size = New System.Drawing.Size(113, 23)
    Me.DPAPIEncryptionButton.TabIndex = 11
    Me.DPAPIEncryptionButton.Text = "DPAPI Encryption"
    Me.DPAPIEncryptionButton.UseVisualStyleBackColor = True
    '
    'TextBox1
    '
    Me.TextBox1.AutoSelect = True
    Me.TextBox1.AutoValidate = dotNetTips.Utility.UI.Windows.Validate.None
    Me.TextBox1.CustomValidationExpression = ""
    Me.TextBox1.InvalidBackColor = System.Drawing.Color.LightPink
    Me.TextBox1.Location = New System.Drawing.Point(473, 259)
    Me.TextBox1.Name = "TextBox1"
    Me.TextBox1.ReadOnlyBackColor = System.Drawing.SystemColors.Control
    Me.TextBox1.Size = New System.Drawing.Size(216, 20)
    Me.TextBox1.TabIndex = 9
    Me.TextBox1.Text = "This Is A gest"
    '
    'FlowLayoutPanel2
    '
    Me.FlowLayoutPanel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
    Me.FlowLayoutPanel2.Controls.Add(Me.CounterButton)
    Me.FlowLayoutPanel2.Controls.Add(Me.DPAPIEncryptionButton)
    Me.FlowLayoutPanel2.Controls.Add(Me.MailButton)
    Me.FlowLayoutPanel2.Controls.Add(Me.MisButton)
    Me.FlowLayoutPanel2.Controls.Add(Me.TempFileManagerButton)
    Me.FlowLayoutPanel2.Controls.Add(Me.WindowsUIButton)
    Me.FlowLayoutPanel2.Location = New System.Drawing.Point(382, 15)
    Me.FlowLayoutPanel2.Name = "FlowLayoutPanel2"
    Me.FlowLayoutPanel2.Size = New System.Drawing.Size(331, 282)
    Me.FlowLayoutPanel2.TabIndex = 12
    '
    'MainForm
    '
    Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
    Me.ClientSize = New System.Drawing.Size(725, 309)
    Me.Controls.Add(Me.FlowLayoutPanel2)
    Me.Controls.Add(Me.FlowLayoutPanel1)
    Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
    Me.Name = "MainForm"
    Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
    Me.Text = "dotNetTips.com Utility Test Application"
    Me.FlowLayoutPanel1.ResumeLayout(False)
    Me.FlowLayoutPanel2.ResumeLayout(False)
    Me.ResumeLayout(False)

  End Sub

#End Region


  Private Sub SystemInfoButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SystemInfoButton.Click
    My.Forms.ComputerInfoForm.ShowDialog()
  End Sub

  Private Sub MailButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MailButton.Click
    My.Forms.MailForm.ShowDialog()
  End Sub

  Private Sub WebButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WebButton.Click
    My.Forms.WebForm.ShowDialog()
  End Sub

  Private Sub ActiveDirectoryButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ActiveDirectoryButton.Click
    My.Forms.ActiveDirectoryForm.ShowDialog()
  End Sub

  Private Sub ArraysButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ArraysButton.Click
    My.Forms.ArrayForm.ShowDialog()
  End Sub

  Private Sub FilesButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FilesButton.Click
    My.Forms.FileForm.ShowDialog()
  End Sub

  Private Sub SecurityButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SecurityButton.Click
    My.Forms.SecurityForm.ShowDialog()
  End Sub

  Private Sub TextButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextButton.Click
    My.Forms.TextForm.ShowDialog()
  End Sub

  Private Sub ValidationButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ValidationButton.Click
    My.Forms.ValidationForm.ShowDialog()
  End Sub

  Private Sub CounterButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CounterButton.Click
    My.Forms.CounterForm.ShowDialog()
  End Sub

  Private Sub TempFileManagerButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TempFileManagerButton.Click

    My.Forms.TempFileManagerForm.ShowDialog()
  End Sub

  Private Sub DPAPIEncryptionButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DPAPIEncryptionButton.Click
    My.Forms.DpapiEncryptionForm.ShowDialog()
  End Sub

  Private Sub WindowsUIButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WindowsUIButton.Click
    My.Forms.WindowsUIForm.ShowDialog()
  End Sub

  Private Sub ApplicationButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ApplicationButton.Click
    My.Forms.ApplicationForm.ShowDialog()
  End Sub

  Private Sub MisButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MisButton.Click
    My.Forms.MiscForm.ShowDialog()
  End Sub
End Class
